Telegram Group & Telegram Channel
Задача с кодом. Количество списков внутри списка

Нужно написать функцию, возвращающую количество списков внутри списка.

Примеры:
num_of_sublists([[1, 2, 3]]) ➞ 1
num_of_sublists([[1, 2, 3], [1, 2, 3], [1, 2, 3]]) ➞ 3
num_of_sublists([[1, 2, 3], [1, 2, 3], [1, 2, 3], [1, 2, 3]]) ➞ 4
num_of_sublists([1, 2, 3]) ➞ 0

Решение на нашем сайте.

#задача #coding



tg-me.com/pythonist_ru/2495
Create:
Last Update:

Задача с кодом. Количество списков внутри списка

Нужно написать функцию, возвращающую количество списков внутри списка.

Примеры:
num_of_sublists([[1, 2, 3]]) ➞ 1
num_of_sublists([[1, 2, 3], [1, 2, 3], [1, 2, 3]]) ➞ 3
num_of_sublists([[1, 2, 3], [1, 2, 3], [1, 2, 3], [1, 2, 3]]) ➞ 4
num_of_sublists([1, 2, 3]) ➞ 0

Решение на нашем сайте.

#задача #coding

BY Pythonist.ru - образование по питону


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonist_ru/2495

View MORE
Open in Telegram


Pythonist ru образование по питону Telegram | DID YOU KNOW?

Date: |

Dump Scam in Leaked Telegram Chat

A leaked Telegram discussion by 50 so-called crypto influencers has exposed the extraordinary steps they take in order to profit on the back off unsuspecting defi investors. According to a leaked screenshot of the chat, an elaborate plan to defraud defi investors using the worthless “$Few” tokens had been hatched. $Few tokens would be airdropped to some of the influencers who in turn promoted these to unsuspecting followers on Twitter.

The messaging service and social-media platform owes creditors roughly $700 million by the end of April, according to people briefed on the company’s plans and loan documents viewed by The Wall Street Journal. At the same time, Telegram Group Inc. must cover rising equipment and bandwidth expenses because of its rapid growth, despite going years without attempting to generate revenue.

Pythonist ru образование по питону from hk


Telegram Pythonist.ru - образование по питону
FROM USA